<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		<?php getAdminMenu();?>
		<div id="main-content"> <!-- Main Content Section with everything -->
			<div class="content-box column-left"><!-- Start Content Box -->
				<div class="content-box-header">
					<h3>修改密码</h3>
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				<div class="content-box-content">
					<div class="tab-content default-tab " id="tab1">
						<form action="<?php echo site_url('/admin/updatePasswd');?>" onsubmit="return check();" method="post">
							<fieldset>
							<table >
							<tr><td>原密码：</td><td><input class="text-input" id="passwd" name="passwd" type="password" /></td></tr>
							<tr><td>新密码：</td><td><input class="text-input" id="newpasswd" name="newpasswd" type="password" /></td></tr>
							<tr><td>确认密码：</td><td><input class="text-input" id="cfmpasswd" name="cfmpasswd" type="password" /></td></tr>
							</table>
								<p style="text-align:right;">
									<input class="button"  type="submit" value="修 改" />
								</p>
							</fieldset>
							<div class="clear"></div><!-- End .clear -->
						</form>
					</div>
				</div> <!-- End .content-box-content -->
			</div> <!-- End .content-box -->
			<div class="clear"></div>
			<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						&#169; Powered by <a href="#">Leslee</a> | <a href="#">Top</a>
				</small>
			</div><!-- End #footer -->
		</div> <!-- End #main-content -->
	</div>
	<script>
	function check()
 	{
 		var pwd = $.trim($("#passwd").val());
 		var newpwd = $.trim($("#newpasswd").val());
 		var cfmpwd = $.trim($("#cfmpasswd").val());
 		if ( pwd == '')
 		{
			alert("请输入原来的密码！");
			return false;
 		}
		if (newpwd == '' || newpwd != cfmpwd)
		{
			alert("请输入新密码和确认密码！");
			return false;
		}
 		return true;
 	}
	</script>